package com.cloudkinto.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloudkinto.vo.operate.OperateRecordVo;
import com.cloudkinto.entity.OperateRecordDo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hua
 * @since 2023-11-20
 */
@Mapper
public interface OperateRecordDao extends BaseMapper<OperateRecordDo> {
    void insertBatchMy(@Param("list") List<OperateRecordDo> list);

    List<OperateRecordVo> list(Long thirdId, Integer type);

    List<OperateRecordVo> getStockToPlatformRecord(@Param("page") IPage<OperateRecordVo> page, @Param("map") Map<String, Object> map);


}
